package xyz.bali16.module.sign.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import xyz.bali16.module.sign.entity.SignAttendance;
import xyz.bali16.module.sign.model.SignAttendanceAddParam;
import xyz.bali16.module.sign.model.SignAttendancePageParam;
import xyz.bali16.module.sign.model.SignAttendanceUpdateParam;


/**
 * @author bali2 on 9/3/2023.
 * @version 1.0
 */
public interface SignAttendanceService extends IService<SignAttendance> {

    IPage<SignAttendance> getPage(SignAttendancePageParam param);
    void addSignAttendance(SignAttendanceAddParam param) throws Exception;

    void updateSignAttendance(SignAttendanceUpdateParam param) throws Exception;

    void delete(String signId) throws Exception;

    boolean has(SignAttendanceAddParam param);
}
